<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>spade.Behaviour.OneShotBehaviour</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="spade-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="spade-module.html">Package&nbsp;spade</a> ::
        <a href="spade.Behaviour-module.html">Module&nbsp;Behaviour</a> ::
        Class&nbsp;OneShotBehaviour
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="spade.Behaviour.OneShotBehaviour-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class OneShotBehaviour</h1><p class="nomargin-top"><span class="codelink"><a href="spade.Behaviour-pysrc.html#OneShotBehaviour">source&nbsp;code</a></span></p>
<pre class="base-tree">
             object --+                
                      |                
     threading._Verbose --+            
                          |            
           threading.Thread --+        
                              |        
<a href="spade.MessageReceiver.MessageReceiver-class.html">MessageReceiver.MessageReceiver</a> --+    
                                  |    
                          <a href="spade.Behaviour.Behaviour-class.html">Behaviour</a> --+
                                      |
                                     <strong class="uidshort">OneShotBehaviour</strong>
</pre>

<dl><dt>Known Subclasses:</dt>
<dd>
      <ul class="subclass-list">
<li><a href="spade.Unit.Unit-class.html">Unit.Unit</a></li><li>, <a href="spade.Unit.Unit.GetOwnerListBehaviour-class.html">Unit.Unit.GetOwnerListBehaviour</a></li><li>, <a href="spade.Unit.Unit.SetGoalBehaviour-class.html">Unit.Unit.SetGoalBehaviour</a></li><li>, <a href="spade.Unit.Unit.GetBanAgentListBehaviour-class.html">Unit.Unit.GetBanAgentListBehaviour</a></li><li>, <a href="spade.Unit.Unit.GetModeratorListBehaviour-class.html">Unit.Unit.GetModeratorListBehaviour</a></li><li>, <a href="spade.Unit.Unit.AddModeratorBehaviour-class.html">Unit.Unit.AddModeratorBehaviour</a></li><li>, <a href="spade.Unit.Unit.GetInfoBehaviour-class.html">Unit.Unit.GetInfoBehaviour</a></li><li>, <a href="spade.Unit.Unit.AddOwnerBehaviour-class.html">Unit.Unit.AddOwnerBehaviour</a></li><li>, <a href="spade.Unit.Unit.SendPrivateMessageBehaviour-class.html">Unit.Unit.SendPrivateMessageBehaviour</a></li><li>, <a href="spade.Unit.Unit.TestRoomNameBehaviour-class.html">Unit.Unit.TestRoomNameBehaviour</a></li><li>, <a href="spade.Unit.Unit.AddBanAgentBehaviour-class.html">Unit.Unit.AddBanAgentBehaviour</a></li><li>, <a href="spade.Unit.Unit.GetGoalBehaviour-class.html">Unit.Unit.GetGoalBehaviour</a></li><li>, <a href="spade.Unit.Unit.RemoveAdminBehaviour-class.html">Unit.Unit.RemoveAdminBehaviour</a></li><li>, <a href="spade.Unit.Unit.RevokeVoiceBehaviour-class.html">Unit.Unit.RevokeVoiceBehaviour</a></li><li>, <a href="spade.Unit.Unit.RemoveOwnerBehaviour-class.html">Unit.Unit.RemoveOwnerBehaviour</a></li><li>, <a href="spade.Unit.Unit.MyJoinRoomBehaviour-class.html">Unit.Unit.MyJoinRoomBehaviour</a></li><li>, <a href="spade.Unit.Unit.SetMaxAgentsBehaviour-class.html">Unit.Unit.SetMaxAgentsBehaviour</a></li><li>, <a href="spade.Unit.Unit.GetMinAgentsBehaviour-class.html">Unit.Unit.GetMinAgentsBehaviour</a></li><li>, <a href="spade.Unit.Unit.KickAgentBehaviour-class.html">Unit.Unit.KickAgentBehaviour</a></li><li>, <a href="spade.Unit.Unit.RemoveModeratorBehaviour-class.html">Unit.Unit.RemoveModeratorBehaviour</a></li><li>, <a href="spade.Unit.Unit.SendMessageBehaviour-class.html">Unit.Unit.SendMessageBehaviour</a></li><li>, <a href="spade.Unit.Unit.GetAdminListBehaviour-class.html">Unit.Unit.GetAdminListBehaviour</a></li><li>, <a href="spade.Unit.Unit.GetNumberOfAgentsBehaviour-class.html">Unit.Unit.GetNumberOfAgentsBehaviour</a></li><li>, <a href="spade.Unit.Unit.PresenceBehaviour.MinAgentsBehaviour-class.html">Unit.Unit.PresenceBehaviour.MinAgentsBehaviour</a></li><li>, <a href="spade.Unit.Unit.SetMinAgentsBehaviour-class.html">Unit.Unit.SetMinAgentsBehaviour</a></li><li>, <a href="spade.Unit.Unit.GetMaxAgentsBehaviour-class.html">Unit.Unit.GetMaxAgentsBehaviour</a></li><li>, <a href="spade.Unit.Unit.DestroyBehaviour-class.html">Unit.Unit.DestroyBehaviour</a></li><li>, <a href="spade.Unit.Unit.CreateRoomBehaviour-class.html">Unit.Unit.CreateRoomBehaviour</a></li><li>, <a href="spade.Unit.Unit.GetMemberListBehaviour-class.html">Unit.Unit.GetMemberListBehaviour</a></li><li>, <a href="spade.Unit.Unit.AddAdminBehaviour-class.html">Unit.Unit.AddAdminBehaviour</a></li><li>, <a href="spade.Unit.Unit.RemoveBanAgentBehaviour-class.html">Unit.Unit.RemoveBanAgentBehaviour</a></li><li>, <a href="spade.Unit.Unit.GiveVoiceBehaviour-class.html">Unit.Unit.GiveVoiceBehaviour</a></li><li>, <a href="spade.Behaviour.EventBehaviour-class.html">EventBehaviour</a></li><li>, <a href="spade.peer2peer.RequestDiscoInfoBehav-class.html">peer2peer.RequestDiscoInfoBehav</a></li><li>, <a href="spade.peer2peer.SendStreamInitiationBehav-class.html">peer2peer.SendStreamInitiationBehav</a></li><li>, <a href="spade.Platform.SpadePlatform.GetMembersBehav-class.html">Platform.SpadePlatform.GetMembersBehav</a></li><li>, <a href="spade.DF.DF.RegisterBehaviour-class.html">DF.DF.RegisterBehaviour</a></li><li>, <a href="spade.DF.DF.SearchBehaviour-class.html">DF.DF.SearchBehaviour</a></li><li>, <a href="spade.DF.DF.ModifyBehaviour-class.html">DF.DF.ModifyBehaviour</a></li><li>, <a href="spade.fipa.ModifyAgentBehaviour-class.html">fipa.ModifyAgentBehaviour</a></li><li>, <a href="spade.fipa.SearchAgentBehaviour-class.html">fipa.SearchAgentBehaviour</a></li><li>, <a href="spade.fipa.deregisterServiceBehaviour-class.html">fipa.deregisterServiceBehaviour</a></li><li>, <a href="spade.fipa.getPlatformInfoBehaviour-class.html">fipa.getPlatformInfoBehaviour</a></li><li>, <a href="spade.fipa.modifyServiceBehaviour-class.html">fipa.modifyServiceBehaviour</a></li><li>, <a href="spade.fipa.registerServiceBehaviour-class.html">fipa.registerServiceBehaviour</a></li><li>, <a href="spade.fipa.searchServiceBehaviour-class.html">fipa.searchServiceBehaviour</a></li><li>, <a href="spade.Unit_new.Unit_new-class.html">Unit_new.Unit_new</a></li><li>, <a href="spade.Unit_new.Unit_new.GetOwnerListBehaviour-class.html">Unit_new.Unit_new.GetOwnerListBehaviour</a></li><li>, <a href="spade.Unit_new.Unit_new.SetGoalBehaviour-class.html">Unit_new.Unit_new.SetGoalBehaviour</a></li><li>, <a href="spade.Unit_new.Unit_new.GetBanAgentListBehaviour-class.html">Unit_new.Unit_new.GetBanAgentListBehaviour</a></li><li>, <a href="spade.Unit_new.Unit_new.GetModeratorListBehaviour-class.html">Unit_new.Unit_new.GetModeratorListBehaviour</a></li><li>, <a href="spade.Unit_new.Unit_new.AddModeratorBehaviour-class.html">Unit_new.Unit_new.AddModeratorBehaviour</a></li><li>, <a href="spade.Unit_new.Unit_new.GetInfoBehaviour-class.html">Unit_new.Unit_new.GetInfoBehaviour</a></li><li>, <a href="spade.Unit_new.Unit_new.SendPrivateMessageBehaviour-class.html">Unit_new.Unit_new.SendPrivateMessageBehaviour</a></li><li>, <a href="spade.Unit_new.Unit_new.TestRoomNameBehaviour-class.html">Unit_new.Unit_new.TestRoomNameBehaviour</a></li><li>, <a href="spade.Unit_new.Unit_new.AddBanAgentBehaviour-class.html">Unit_new.Unit_new.AddBanAgentBehaviour</a></li><li>, <a href="spade.Unit_new.Unit_new.GetGoalBehaviour-class.html">Unit_new.Unit_new.GetGoalBehaviour</a></li><li>, <a href="spade.Unit_new.Unit_new.RemoveAdminBehaviour-class.html">Unit_new.Unit_new.RemoveAdminBehaviour</a></li><li>, <a href="spade.Unit_new.Unit_new.RevokeVoiceBehaviour-class.html">Unit_new.Unit_new.RevokeVoiceBehaviour</a></li><li>, <a href="spade.Unit_new.Unit_new.MyJoinRoomBehaviour-class.html">Unit_new.Unit_new.MyJoinRoomBehaviour</a></li><li>, <a href="spade.Unit_new.Unit_new.SetMaxAgentsBehaviour-class.html">Unit_new.Unit_new.SetMaxAgentsBehaviour</a></li><li>, <a href="spade.Unit_new.Unit_new.GetMinAgentsBehaviour-class.html">Unit_new.Unit_new.GetMinAgentsBehaviour</a></li><li>, <a href="spade.Unit_new.Unit_new.KickAgentBehaviour-class.html">Unit_new.Unit_new.KickAgentBehaviour</a></li><li>, <a href="spade.Unit_new.Unit_new.RemoveModeratorBehaviour-class.html">Unit_new.Unit_new.RemoveModeratorBehaviour</a></li><li>, <a href="spade.Unit_new.Unit_new.SendMessageBehaviour-class.html">Unit_new.Unit_new.SendMessageBehaviour</a></li><li>, <a href="spade.Unit_new.Unit_new.GetAdminListBehaviour-class.html">Unit_new.Unit_new.GetAdminListBehaviour</a></li><li>, <a href="spade.Unit_new.Unit_new.GetNumberOfAgentsBehaviour-class.html">Unit_new.Unit_new.GetNumberOfAgentsBehaviour</a></li><li>, <a href="spade.Unit_new.Unit_new.PresenceBehaviour.MinAgentsBehaviour-class.html">Unit_new.Unit_new.PresenceBehaviour.MinAgentsBehaviour</a></li><li>, <a href="spade.Unit_new.Unit_new.SetMinAgentsBehaviour-class.html">Unit_new.Unit_new.SetMinAgentsBehaviour</a></li><li>, <a href="spade.Unit_new.Unit_new.GetMaxAgentsBehaviour-class.html">Unit_new.Unit_new.GetMaxAgentsBehaviour</a></li><li>, <a href="spade.Unit_new.Unit_new.DestroyBehaviour-class.html">Unit_new.Unit_new.DestroyBehaviour</a></li><li>, <a href="spade.Unit_new.Unit_new.CreateRoomBehaviour-class.html">Unit_new.Unit_new.CreateRoomBehaviour</a></li><li>, <a href="spade.Unit_new.Unit_new.GetMemberListBehaviour-class.html">Unit_new.Unit_new.GetMemberListBehaviour</a></li><li>, <a href="spade.Unit_new.Unit_new.AddAdminBehaviour-class.html">Unit_new.Unit_new.AddAdminBehaviour</a></li><li>, <a href="spade.Unit_new.Unit_new.RemoveBanAgentBehaviour-class.html">Unit_new.Unit_new.RemoveBanAgentBehaviour</a></li><li>, <a href="spade.Unit_new.Unit_new.GiveVoiceBehaviour-class.html">Unit_new.Unit_new.GiveVoiceBehaviour</a></li><li>, <a href="spade.AMS.AMS.RegisterBehaviour-class.html">AMS.AMS.RegisterBehaviour</a></li><li>, <a href="spade.AMS.AMS.SearchBehaviour-class.html">AMS.AMS.SearchBehaviour</a></li><li>, <a href="spade.AMS.AMS.ModifyBehaviour-class.html">AMS.AMS.ModifyBehaviour</a></li><li>, <a href="spade.AMS.AMS.PlatformBehaviour-class.html">AMS.AMS.PlatformBehaviour</a></li><li>, <a href="spade.Organization.Organization.DestroyBehaviour-class.html">Organization.Organization.DestroyBehaviour</a></li><li>, <a href="spade.Organization.Organization.GetUnitInfoBehaviour-class.html">Organization.Organization.GetUnitInfoBehaviour</a></li><li>, <a href="spade.Organization.Organization.MyJoinRoomBehaviour-class.html">Organization.Organization.MyJoinRoomBehaviour</a></li><li>, <a href="spade.Organization.Organization.GetUnitListBehaviour-class.html">Organization.Organization.GetUnitListBehaviour</a></li><li>, <a href="spade.Organization.Organization.CreateTeamBehaviour-class.html">Organization.Organization.CreateTeamBehaviour</a></li><li>, <a href="spade.Organization.Organization.TestRoomNameBehaviour-class.html">Organization.Organization.TestRoomNameBehaviour</a></li><li>, <a href="spade.Organization.Organization.GetRegistrationFormBehaviour-class.html">Organization.Organization.GetRegistrationFormBehaviour</a></li><li>, <a href="spade.Organization.Organization.SendRegistrationFormBehaviour-class.html">Organization.Organization.SendRegistrationFormBehaviour</a></li><li>, <a href="spade.Organization.Organization.CreateRoomBehaviour-class.html">Organization.Organization.CreateRoomBehaviour</a></li><li>, <a href="spade.Organization.Organization.IsMemberBehaviour-class.html">Organization.Organization.IsMemberBehaviour</a></li><li>, <a href="spade.Organization_new.Organization_new.DestroyBehaviour-class.html">Organization_new.Organization_new.DestroyBehaviour</a></li><li>, <a href="spade.Organization_new.Organization_new.GetUnitInfoBehaviour-class.html">Organization_new.Organization_new.GetUnitInfoBehaviour</a></li><li>, <a href="spade.Organization_new.Organization_new.MyJoinRoomBehaviour-class.html">Organization_new.Organization_new.MyJoinRoomBehaviour</a></li><li>, <a href="spade.Organization_new.Organization_new.GetUnitListBehaviour-class.html">Organization_new.Organization_new.GetUnitListBehaviour</a></li><li>, <a href="spade.Organization_new.Organization_new.CreateTeamBehaviour-class.html">Organization_new.Organization_new.CreateTeamBehaviour</a></li><li>, <a href="spade.Organization_new.Organization_new.TestRoomNameBehaviour-class.html">Organization_new.Organization_new.TestRoomNameBehaviour</a></li><li>, <a href="spade.Organization_new.Organization_new.GetRegistrationFormBehaviour-class.html">Organization_new.Organization_new.GetRegistrationFormBehaviour</a></li><li>, <a href="spade.Organization_new.Organization_new.SendRegistrationFormBehaviour-class.html">Organization_new.Organization_new.SendRegistrationFormBehaviour</a></li><li>, <a href="spade.Organization_new.Organization_new.CreateRoomBehaviour-class.html">Organization_new.Organization_new.CreateRoomBehaviour</a></li><li>, <a href="spade.Organization_new.Organization_new.IsMemberBehaviour-class.html">Organization_new.Organization_new.IsMemberBehaviour</a></li>  </ul>
</dd></dl>

<hr />
<p>this behavior is only executed once</p>

<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Methods</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceMethods"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="spade.Behaviour.OneShotBehaviour-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>)</span><br />
      x.__init__(...) initializes x; see x.__class__.__doc__ for signature</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Behaviour-pysrc.html#OneShotBehaviour.__init__">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="spade.Behaviour.OneShotBehaviour-class.html#done" class="summary-sig-name">done</a>(<span class="summary-sig-arg">self</span>)</span><br />
      returns True if the behavior has finished else returns False</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Behaviour-pysrc.html#OneShotBehaviour.done">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="spade.Behaviour.Behaviour-class.html">Behaviour</a></code></b>:
      <code><a href="spade.Behaviour.Behaviour-class.html#exitCode">exitCode</a></code>,
      <code><a href="spade.Behaviour.Behaviour-class.html#getAgent">getAgent</a></code>,
      <code><a href="spade.Behaviour.Behaviour-class.html#getParent">getParent</a></code>,
      <code><a href="spade.Behaviour.Behaviour-class.html#kill">kill</a></code>,
      <code><a href="spade.Behaviour.Behaviour-class.html#managePresence">managePresence</a></code>,
      <code><a href="spade.Behaviour.Behaviour-class.html#onEnd">onEnd</a></code>,
      <code><a href="spade.Behaviour.Behaviour-class.html#onStart">onStart</a></code>,
      <code><a href="spade.Behaviour.Behaviour-class.html#registerPresenceHandler">registerPresenceHandler</a></code>,
      <code><a href="spade.Behaviour.Behaviour-class.html#root">root</a></code>,
      <code><a href="spade.Behaviour.Behaviour-class.html#run">run</a></code>,
      <code><a href="spade.Behaviour.Behaviour-class.html#setAgent">setAgent</a></code>,
      <code><a href="spade.Behaviour.Behaviour-class.html#setParent">setParent</a></code>,
      <code><a href="spade.Behaviour.Behaviour-class.html#setTemplate">setTemplate</a></code>
      </p>
    <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="spade.Behaviour.Behaviour-class.html">Behaviour</a></code></b> (private):
      <code><a href="spade.Behaviour.Behaviour-class.html#_process" onclick="show_private();">_process</a></code>
      </p></div>
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="spade.MessageReceiver.MessageReceiver-class.html">MessageReceiver.MessageReceiver</a></code></b>:
      <code><a href="spade.MessageReceiver.MessageReceiver-class.html#postMessage">postMessage</a></code>
      </p>
    <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="spade.MessageReceiver.MessageReceiver-class.html">MessageReceiver.MessageReceiver</a></code></b> (private):
      <code><a href="spade.MessageReceiver.MessageReceiver-class.html#_receive" onclick="show_private();">_receive</a></code>
      </p></div>
    <p class="indent-wrapped-lines"><b>Inherited from <code>threading.Thread</code></b>:
      <code>__repr__</code>,
      <code>getName</code>,
      <code>isAlive</code>,
      <code>isDaemon</code>,
      <code>is_alive</code>,
      <code>join</code>,
      <code>setDaemon</code>,
      <code>setName</code>,
      <code>start</code>
      </p>
    <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code>threading.Thread</code></b> (private):
      <code>_set_daemon</code>,
      <code>_set_ident</code>
      </p></div>
    <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code>threading._Verbose</code></b> (private):
      <code>_note</code>
      </p></div>
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__delattr__</code>,
      <code>__format__</code>,
      <code>__getattribute__</code>,
      <code>__hash__</code>,
      <code>__new__</code>,
      <code>__reduce__</code>,
      <code>__reduce_ex__</code>,
      <code>__setattr__</code>,
      <code>__sizeof__</code>,
      <code>__str__</code>,
      <code>__subclasshook__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== INSTANCE VARIABLES ==================== -->
<a name="section-InstanceVariables"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Variables</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceVariables"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="spade.Behaviour.Behaviour-class.html">Behaviour</a></code></b> (private):
      <code><a href="spade.Behaviour.Behaviour-class.html#_exitcode" onclick="show_private();">_exitcode</a></code>
      </p></div>
    </td>
  </tr>
</table>
<!-- ==================== PROPERTIES ==================== -->
<a name="section-Properties"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Properties</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Properties"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>threading.Thread</code></b>:
      <code>daemon</code>,
      <code>ident</code>,
      <code>name</code>
      </p>
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__class__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Method Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-MethodDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="__init__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>)</span>
    <br /><em class="fname">(Constructor)</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="spade.Behaviour-pysrc.html#OneShotBehaviour.__init__">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>x.__init__(...) initializes x; see x.__class__.__doc__ for 
  signature</p>
  <dl class="fields">
    <dt>Overrides:
        object.__init__
        <dd><em class="note">(inherited documentation)</em></dd>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="done"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">done</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="spade.Behaviour-pysrc.html#OneShotBehaviour.done">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>returns True if the behavior has finished else returns False</p>
  <dl class="fields">
    <dt>Overrides:
        <a href="spade.Behaviour.Behaviour-class.html#done">Behaviour.done</a>
        <dd><em class="note">(inherited documentation)</em></dd>
    </dt>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="spade-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Wed May 26 16:26:23 2010
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
